package org.dylan.security.service;

import org.dylan.security.dao.IUserDao;
import org.dylan.security.entity.IUser;

public class DefaultSecurityService implements SecurityService {

	private IUserDao userDao;

	@Override
	public IUser findByUsername(String username) {
		return userDao.findByUsername(username);
	}

	public IUserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(IUserDao userDao) {
		this.userDao = userDao;
	}

}
